package lab02.Test07;

/**
 * Created by Administrator on 2017/10/18.
 */
public class Student extends Person{
    String studentNum;
    String school;

    public String getStudentNum() {
        return studentNum;
    }

    public void setStudentNum(String studentNum) {
        this.studentNum = studentNum;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    @Override
    public String toString() {
        return (name+"-"+ age+"-"+id+"-"+studentNum+"-"+school);
    }

}
